The first thing that you want to say is:
    import Gcrypt

That'll give you access to some classes and fuctions:

        data = GenRandom(length, strength = 0)
    Returns length bytes of random data.

strength is one of the following:
    0 - Psudorandom data generated from a random seed probably
        using a hash function.
    1 - Like 0, but more random - most likely secure.
    2 - Random data. This will block until it finds enough random
        bytes.
